<?php

class McCube_Exception_VariableNotFound extends McCube_Exception{

    protected $variable = '';

    /** */
    public function __construct($variable){
        $this->variable = $variable;

        parent::__construct(
            'Directory [ '.$variable.' ] not found !'
        );
    }

    /** */
    public function renderHTML(){
        return ''
            .'Variable [ <em style="color:green;">'.$this->variable.'</em> ] not found !'
        ;
    }

}